
<div class="am-cf admin-main"> 

<div class="nav-navicon admin-main admin-sidebar">
    
    
    <div class="sideMenu am-icon-dashboard" style="color:#aeb2b7; margin: 10px 0 0 0;"> 欢迎管理员：{$_COOKIE['user']?$_COOKIE['user']:''}</div>
    <div class="sideMenu">
		{volist name="nav_arr" id="item" key="k"}
	 	<h3 class='am-icon-cart-plus' cat="{$k}" id="xiugai"><em></em> <a >{$item['name']}</a></h3>
	 	<ul id="tanchu_{$k}" {if condition="$item.id eq $cid"}style="display: block;"{/if}>
	 		{volist name="$item.child" id="ite" key="key"}
	 		{if condition="$ite.url_param eq ''"}
	 			{if condition="$ite.action eq 'ht_tjdm'"}
	 		
		 		{else}
		 			{if condition="$ite.action eq 'ht_fggl'"}
		 			{else}
		 			<a href='/admin/{$ite.model}/{$ite.action}?id={$ite.id}&cid={$item.id}'><li>{$ite.name}</li></a>
		 			{/if}
		 		{/if}
	 		{else}
	 		<a href='/admin/{$ite.model}/{$ite.action}?cid={$item.id}&{$ite.url_param}'><li>{$ite.name}</li></a>
	 		{/if}
	 		{/volist}
	 	</ul>	 
	 	{/volist}
    </div>
    <!-- sideMenu End --> 
    
    <script type="text/javascript">
  	   $(".sideMenu #xiugai").click(function(){
  	   	var cat = $(this).attr("cat");
  	  	$("#tanchu_"+cat).slideToggle();
  	  }); 
	</script> 
</div>
